package com.smgeek.gkrpc.transport;

import org.eclipse.jetty.http.HttpParser;

/**
 * @program: rpc
 *  * @description: 1.启动、监听
 *  * 2.接受请求
 *  * 3.关闭监听
 * @ClassName TransportServer
 * @Author wuyuyang
 * @Date 2022/1/6 16:28
 * @Description TransportServer
 * @Version 1.0
 */
public interface TransportServer {
    void init(int port, RequestHandler requestHandler);
    void start() ;
    void stop();
}
